<?php

use think\Db;

$res = Db::name('dict')->field(['abbreviation','content'])->where('lang','zh')->select();

$returnData = array();
for ($i=0; $i < count($res); $i++) { 
	$returnData[$res[$i]['abbreviation']] = $res[$i]['content'];
}
// dump($returnData);die;
return $returnData;
